lost connection after RSET

1. lost connection after RSET

Eduardo de Oliveira Azevedo
eduardoazevedo3

(usa Ubuntu)

Enviado em 10/09/2011 - 13:11h

Olá pessoal,

estou tendo um problema com Postfix ao tentar enviar e-mails para rede externa "gmail, yahoo, hotmail, etc."

Esse é o main.cf

==============================================================================

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = orbitalstudio.com.br
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = orbitalstudio.com.br, localhost.orbitalstudio.com.br, localhost
relayhost =
relay_domains =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

==============================================================================

---- Aqui vai os logs: ----

Sep 10 13:08:31 orbitalstudio postfix/anvil[1648]: statistics: max cache size 1 at Sep 10 13:05:08
Sep 10 13:09:58 orbitalstudio postfix/qmgr[1640]: 4D1DA40A80: from=<eduardo@orbitalstudio.com.br>, size=324, nrcpt=1 (queue active)
Sep 10 13:10:19 orbitalstudio postfix/smtp[1672]: connect to gmail-smtp-in.l.google.com[74.125.65.26]:25: Connection timed out
Sep 10 13:10:40 orbitalstudio postfix/smtp[1672]: connect to alt1.gmail-smtp-in.l.google.com[74.125.113.26]:25: Connection timed out
Sep 10 13:11:01 orbitalstudio postfix/smtp[1672]: connect to alt2.gmail-smtp-in.l.google.com[209.85.143.26]:25: Connection timed out
Sep 10 13:11:22 orbitalstudio postfix/smtp[1672]: connect to alt3.gmail-smtp-in.l.google.com[209.85.229.26]:25: Connection timed out
Sep 10 13:11:43 orbitalstudio postfix/smtp[1672]: connect to alt4.gmail-smtp-in.l.google.com[74.125.77.27]:25: Connection timed out
Sep 10 13:11:43 orbitalstudio postfix/smtp[1672]: 4D1DA40A80: to=<eduardoazevedo3@gmail.com>, relay=none, delay=8712, delays=8607/0.02/105/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.77.27]:25: Connection timed out)

---------------------------




  


2. Re: lost connection after RSET

Eduardo de Oliveira Azevedo
eduardoazevedo3

(usa Ubuntu)

Enviado em 12/09/2011 - 10:17h

Tentei enviar com o root (root@orbitalstudio.com.br) para não ter problemas com permissão, deu o mesmo erro.

Veja:

Sep 12 10:14:21 orbitalstudio postfix/smtp[27087]: connect to alt1.gmail-smtp-in.l.google.com[74.125.113.26]:25: Connection t imed out
Sep 12 10:14:36 orbitalstudio postfix/pickup[27084]: 8C54340653: uid=0 from=<root>
Sep 12 10:14:36 orbitalstudio postfix/cleanup[27097]: 8C54340653: message-id=<20110912131436.8C54340653@orbitalstudio.com.br>
Sep 12 10:14:36 orbitalstudio postfix/qmgr[27085]: 8C54340653: from=<root@orbitalstudio.com.br>, size=351, nrcpt=2 (queue act ive)
Sep 12 10:14:36 orbitalstudio postfix/local[27098]: 8C54340653: to=<root@orbitalstudio.com.br>, relay=local, delay=0.03, dela ys=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 10:14:42 orbitalstudio postfix/smtp[27087]: connect to alt2.gmail-smtp-in.l.google.com[209.85.227.26]:25: Connection t imed out
Sep 12 10:14:57 orbitalstudio postfix/smtp[27099]: connect to gmail-smtp-in.l.google.com[74.125.47.26]:25: Connection timed o ut
Sep 12 10:15:03 orbitalstudio postfix/smtp[27087]: connect to alt3.gmail-smtp-in.l.google.com[74.125.77.27]:25: Connection timed out
Sep 12 10:15:18 orbitalstudio postfix/smtp[27099]: connect to alt1.gmail-smtp-in.l.google.com[74.125.113.27]:25: Connection timed out
^[[ASep 12 10:15:24 orbitalstudio postfix/smtp[27087]: connect to alt4.gmail-smtp-in.l.google.com[74.125.39.27]:25: Connection timed out
Sep 12 10:15:24 orbitalstudio postfix/smtp[27087]: 5E0CA40AD0: to=<eduardoazevedo3@gmail.com>, relay=none, delay=167956, delays=167850/0.02/105/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.39.27]:25: Connection timed out)

--------------------------------------------------------

Como eu faço para atribuir essas permissões?


3. Postfix

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/09/2011 - 22:54h

Amigo olhando com mais cuidado percebi que você não adcionou os protocolos POP3 e HTTP....

Segue um link de como fazer a configuração completa para postfix...
>>>>http://www.vivaolinux.com.br/artigo/Servidor-Postfix-Total

Se resolveu o seu problema, marque o tópico como resolvido....
Boa Sorte..........


4. lost connection after RSET

Eduardo de Oliveira Azevedo
eduardoazevedo3

(usa Ubuntu)

Enviado em 15/09/2011 - 23:48h

Fix o tutorial acima inúmeras vezes, e sempre empaco neste problema

lost connection after RSET from mail.orbitalstudio.com.br[200.98.202.215]

Alguém sabe o que pode ser?


5. Re: lost connection after RSET

Perfil removido
removido

(usa Nenhuma)

Enviado em 16/09/2011 - 00:44h

Você está usando firewall? se sim já verificou as Regras do mesmo?



6. RE: lost connection after RSET

Eduardo de Oliveira Azevedo
eduardoazevedo3

(usa Ubuntu)

Enviado em 16/09/2011 - 08:13h

Estou sim, mas para testar removi todas as regas.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts